package cn.edu.nyist.integration.common;
/*数据字典*/

public class Const {
    /**
     * 用户注册时校验username和email唯一
     *
     */
    public final static String USERNAME = "username";
    public final static String EMAIL = "email";
    public final static String LOGIN_SUCCESS = "登陆成功";
    public final static String LOGIN_FAILURE = "登陆失败";
    public final static String NO_LOGIN = "用户未登录";
    public final static String ILLEGAL_ARGUMENT = "非法参数";

    public interface Role {
        Integer ROLE_ADMIN = 1; //管理员用户
        Integer ROLE_CUSTOMER = 0; //普通用户
    }

}
